/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ez2find.manager;

import com.ez2find.model.RegisterUser;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Owner
 */
@Local
public interface RegisterUserManagerLocal {

    void create(RegisterUser registerUser) throws Exception;

    void delete(RegisterUser registerUser) throws Exception;

    RegisterUser find(long id);

    RegisterUser findLoginUser(String email, String pwd);

    List<RegisterUser> listAll();

    RegisterUser merge(RegisterUser registerUser) throws Exception;

    RegisterUser findUserByEmail(String email);

    void update(RegisterUser registerUser, boolean changePassword) throws Exception;

    RegisterUser findUserForConfirmation(String encryptedId, String confirmationCode);

    public void updateUser(com.ez2find.model.RegisterUser registerUser) throws java.lang.Exception;

    void createUser(RegisterUser registerUser) throws Exception;
    
}
